<?php ob_start() ?>

<div class="row">
    <?php if (isset($_SESSION['adminbetporra_msj'])) { ?>
        <div class="alert alert-success alert-dismissable col-lg-12 text-center">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <strong><?php echo $_SESSION['adminbetporra_msj'] ?></strong>
        </div>
        <?php
        unset($_SESSION['adminbetporra_msj']);
    }
    ?>
    <div class="col-lg-12">
        <h1>Jornadas <small>Añadir Jornada</small></h1>
        <hr>
    </div>
</div><!-- /.row -->

<div class="row">
    <div class="col-lg-6">

        <form role="form" name="form_anadir_equipo" id="form_anadir_equipo" action="registro_jornada" method="post" enctype="multipart/form-data">
            <div class="form-group">
                <label for="descripcion">Descripción:</label>
                <input class="form-control" name="descripcion" type="text" required="required" id="descripcion" />
            </div>
            <div class="form-group">
                <label for="fecha">Fecha:</label>
                <input class="form-control" name="fecha" type="date" required="required" id="fecha"/>
            </div>
            <input type="hidden" name="competicion" value="<?php echo $_GET['id']; ?>"/>
            <button type="submit" class="btn btn-default">Guardar Datos</button>
        </form>

    </div>
</div>


<?php
$contenido = ob_get_clean();
include "app/templates/template_admin.php";
?>
